gbser_posix Remove extranous cast for OS X 10.3.
authorrobertl <robertl>
Fri, 25 Aug 2006 18:49:20 +0000 (18:49 +0000)
committerrobertl <robertl>
Fri, 25 Aug 2006 18:49:20 +0000 (18:49 +0000)
gbser_posix.c

index de39d3ce19c8426264afdb3cc17ad8341758a477..6b37effe8a6a28a22276bc129de5fab80867bb77 100644 (file)
@@ -280,7 +280,7 @@ int gbser__fill_buffer(void *handle, unsigned want, unsigned *ms) {
             FD_SET(h->fd, &rec);
 
             t.tv_sec  = (time_t) time_left / 1000;
-            t.tv_usec = (suseconds_t) ((unsigned) time_left % 1000) * 1000;
+            t.tv_usec = ((unsigned) time_left % 1000) * 1000;
 
             if (select(h->fd + 1, &rec, NULL, NULL, &t) < 0) {
                 return gbser_ERROR;